/***************************************************************************
 * 
 * Copyright (c) 2012 baidu.com, Inc. All Rights Reserved
 * $Id$ 
 * 
 **************************************************************************/
 
 
 
/**
 * @file strerror.cc
 * @author Yuncong Zhang(zhangyuncong@baidu.com)
 * @date 2012/08/30 15:14:25
 * @version 1.0 
 * @brief 
 *  
 **/

#include <cstdio>
#include <cstring>
#include <error.h>
#include <cstdlib>
int main(int argc,char** argv){
	if (argc != 2){
		fprintf(stderr, "usage: strerror <errno>\n");
		return 0;
	}
	puts(strerror(atoi(argv[1])));
}





















/* vim: set ts=4 sw=4 sts=4 tw=100 noet: */
